package com.wtwd.wtwddevice.deviceserver.handler;


import com.wtwd.device.protocol.WTProtocol;
import io.netty.channel.Channel;


/**
 * 接收设备消息处理器
 */
public interface ProcessMessageHandler {

    /**
     * 解析并处理消息
     *
     * @param wtProtocol
     * @param channel
     * @return
     */
    WTProtocol processMsg(WTProtocol wtProtocol, Channel channel);
}

